package com.dhecp.project.purchase.domain;
import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntityKJ;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @program: kjecp
 * @description: 线下采购订单
 * @author: hlf
 * @create: 2022-10-28 16:35
 */
public class OfflinePurchaseOrder extends BaseBusinessEntityKJ {

    private static final long serialVersionUID = 1L;

    private String planID;//采购计划单号
    private String supplierCode;//采购供应商编码
    private String supplierName;//采购供应商名称
    private String vGsMc;//采购公司名称
    private String vGsJc;//采购公司编码
    private String vGsBm;//采购公司简称
    private String orderAddress;//采购下单地址
    private String planToNote;//采购计划备注
    private Double orderAmount;//采购订单金额
    private Double freightCharge;//采购运费
    private Double serviceCharge;//采购服务费
    private String state;//订单状态
    private String aliPlace;//物流渠道
    private String aliLogisticsCode;//物流单号
    private String warehouse;//入库单号
    private String aliLogisticsBillNo;//物流运单号
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date warehouseTime;//入库时间
    private String code;//商品编码
    private String name;//商品名称
    private String sCode;//子件编码
    private String sName;//子件名称
    private Integer sum;//子件采购总数
    private Double price;//子件预估单价
    private Double cost;//子件预估总价
    private Double price2;//子件实际单价
    private Double cost2;//子件实际总价
    private String isPay;//是否付款
    private Double orderAmountAll;//采购订单总金额
    private String isJp;//是否精品
    private Double jpHbJe;//精品调拨金额
    private Integer inqty;//到货数量
    private Integer ninqty;//未到货数量
    private Double amountPaid;//已付款金额
    private Double unpaidAmount;//未付款金额
    private String sourceSupply;//货源地

    public String getPlanID() {
        return planID;
    }

    public void setPlanID(String planID) {
        this.planID = planID;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    @Override
    public String getvGsMc() {
        return vGsMc;
    }

    @Override
    public void setvGsMc(String vGsMc) {
        this.vGsMc = vGsMc;
    }

    @Override
    public String getvGsJc() {
        return vGsJc;
    }

    @Override
    public void setvGsJc(String vGsJc) {
        this.vGsJc = vGsJc;
    }

    @Override
    public String getvGsBm() {
        return vGsBm;
    }

    @Override
    public void setvGsBm(String vGsBm) {
        this.vGsBm = vGsBm;
    }

    public String getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(String orderAddress) {
        this.orderAddress = orderAddress;
    }

    public String getPlanToNote() {
        return planToNote;
    }

    public void setPlanToNote(String planToNote) {
        this.planToNote = planToNote;
    }

    public Double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Double getFreightCharge() {
        return freightCharge;
    }

    public void setFreightCharge(Double freightCharge) {
        this.freightCharge = freightCharge;
    }

    public Double getServiceCharge() {
        return serviceCharge;
    }

    public void setServiceCharge(Double serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getAliPlace() {
        return aliPlace;
    }

    public void setAliPlace(String aliPlace) {
        this.aliPlace = aliPlace;
    }

    public String getAliLogisticsCode() {
        return aliLogisticsCode;
    }

    public void setAliLogisticsCode(String aliLogisticsCode) {
        this.aliLogisticsCode = aliLogisticsCode;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getAliLogisticsBillNo() {
        return aliLogisticsBillNo;
    }

    public void setAliLogisticsBillNo(String aliLogisticsBillNo) {
        this.aliLogisticsBillNo = aliLogisticsBillNo;
    }

    public Date getWarehouseTime() {
        return warehouseTime;
    }

    public void setWarehouseTime(Date warehouseTime) {
        this.warehouseTime = warehouseTime;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    public String getsCode() {
        return sCode;
    }

    public void setsCode(String sCode) {
        this.sCode = sCode;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public Double getPrice2() {
        return price2;
    }

    public void setPrice2(Double price2) {
        this.price2 = price2;
    }

    public Double getCost2() {
        return cost2;
    }

    public void setCost2(Double cost2) {
        this.cost2 = cost2;
    }

    public String getIsPay() {
        return isPay;
    }

    public void setIsPay(String isPay) {
        this.isPay = isPay;
    }

    public Double getOrderAmountAll() {
        return orderAmountAll;
    }

    public void setOrderAmountAll(Double orderAmountAll) {
        this.orderAmountAll = orderAmountAll;
    }

    public String getIsJp() {
        return isJp;
    }

    public void setIsJp(String isJp) {
        this.isJp = isJp;
    }

    public Double getJpHbJe() {
        return jpHbJe;
    }

    public void setJpHbJe(Double jpHbJe) {
        this.jpHbJe = jpHbJe;
    }

    public Integer getInqty() {
        return inqty;
    }

    public void setInqty(Integer inqty) {
        this.inqty = inqty;
    }

    public Integer getNinqty() {
        return ninqty;
    }

    public void setNinqty(Integer ninqty) {
        this.ninqty = ninqty;
    }

    public Double getAmountPaid() {
        return amountPaid;
    }

    public void setAmountPaid(Double amountPaid) {
        this.amountPaid = amountPaid;
    }

    public Double getUnpaidAmount() {
        return unpaidAmount;
    }

    public void setUnpaidAmount(Double unpaidAmount) {
        this.unpaidAmount = unpaidAmount;
    }

    public String getSourceSupply() {
        return sourceSupply;
    }

    public void setSourceSupply(String sourceSupply) {
        this.sourceSupply = sourceSupply;
    }
}